﻿@model Fengsoft.AIBlog.Web.Models.GalleryManagerModel
@{
    ViewBag.Title="Gallery Manager";
    Layout="~/Views/Shared/_LeftSidebarLayout.cshtml";
}
@section head{
}
@section scripts{
}
<div class="gallery-page">
    <div class="row margin-bottom-20">
        @foreach (ThumbnailModel thumbnail in Model.Gallery)
        {
            <div class="col-md-3 col-sm-6">
                <a class="thumbnail" title="@thumbnail.Title" href="@Url.Content(thumbnail.ImageViewerUrl)">
                    <img alt="@thumbnail.Title" src="@Url.Content(thumbnail.ThumbnailUrl)" class="img-responsive" />
                </a>
            </div>
        }
    </div>
</div>
<div class="text-center">@Html.Partial("_pagerpartial",Model.GalleryPager)</div>